package com;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class FileHandler {

	public static void main(String[] args) {
		
		try{
			FileReader freader = new FileReader(new File("d:\\fileA.txt"));
			BufferedReader reader = new BufferedReader(freader);
			String s = null;
			while((s = reader.readLine()) != null ){
				System.out.println(s);
			}
			System.out.println("I changed");
			System.out.println("Change twice");
      System.out.println("Change at server");
			reader.close();
			freader.close();
		}catch (Exception e) {
			e.printStackTrace();
		}
	}

}
